package com.hjxy.service;

import com.github.pagehelper.PageInfo;
import com.hjxy.pojo.Classroom;

import java.util.List;
import java.util.Set;


public interface ClassroomService {
    List<Classroom> getAll();
   /* Classroom getOneByClassroomId(Integer classroomId); //查询一个用户
    Classroom getOneByClassroomname(String classroomname);//通过用户账号查询用户信息含角色信息
    PageInfo<Classroom> getClassroomsByPage(Integer currentPage,
                                            Integer pageSize);
    boolean addOne(Classroom classroom);
    boolean removeOne(Classroom classroom);
    boolean modifyOne(Classroom classroom);
    boolean removeSome(Set<Integer> classroomIds);
    //模糊查询用户，以address为条件
    Set<Classroom> getClassroomThatAddressLike(String address);


    //根据用户姓名、电话、角色名进行模糊查询
    Set<Classroom> getClassroomWithMultiCondition(String classroomId, int state);

*//*    Map<String, Object> login(String classroomname, String password);//登录功能
    Classroom logout(); //登出功能*/
}
